package com.wish.g01.base.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wish.g01.base.dto.CwDealPaySum;
import com.wish.g01.base.dto.CwDealPerDayDetailReceiptDto;
import com.wish.g01.base.dto.CwDealPerDayDto;
import com.wish.g01.base.dto.SaveHaiLianDealPerDayRequest;
import com.wish.g01.base.entity.CwCheckBatch;
import com.wish.g01.base.entity.CwDealPerDay;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hao
 * @since 2022-05-24
 */
public interface CwDealPerDayMapper extends BaseMapper<CwDealPerDay> {

    CwDealPerDayDto sumList(CwDealPerDayDto cwDealPerDayDto);

    CwDealPaySum chaKanXinXiTongJi1(CwDealPerDayDto cwDealPerDayDto);

    IPage<CwDealPerDay> listShow(Page<CwDealPerDay> page, CwDealPerDayDto cwDealPerDayDto);

    IPage<CwDealPerDayDetailReceiptDto> shourumingxi(Page<CwDealPerDayDetailReceiptDto> page, CwDealPerDayDto cwDealPerDayDto);

    IPage<CwDealPerDayDetailReceiptDto> shouRuMingXiZhiChu(Page<CwDealPerDayDetailReceiptDto> page, CwDealPerDayDto cwDealPerDayDto);

    void saveDealPerDayOutcome(SaveHaiLianDealPerDayRequest saveDealPerDayRequest);

    void saveDealPerDayIncome(SaveHaiLianDealPerDayRequest saveDealPerDayRequest);
}
